import React from 'react';
import { Form } from 'antd';
import { AxInput } from '@/components/AxForm/AxFormItem';
import { AxAdvancedSearchDrawer } from '@/components/AxForm/AxSearchForm/AxAdvancedSearchDrawer';

const Search: React.FC<any> = props => {
    const { form, values = {}, ...rest } = props;

    return (
        <AxAdvancedSearchDrawer
            form={form}
            {...rest}
        >
            <AxInput form={form} label="订单编号" field="template" wholerow='none' />
            <AxInput form={form} label="订单名称" field="template" wholerow='none' />
            <AxInput form={form} label="CAS编码" field="template" wholerow='none' />
            <AxInput form={form} label="商品名称" field="template" wholerow='none' />
            <AxInput form={form} label="商品别名" field="template" wholerow='none' />
        </AxAdvancedSearchDrawer>
    );
};

export default Form.create<any>()(Search);
